package lt.laimis.shop.service.product;

import lt.laimis.shop.service.content.Content;

/**
 * Created by IntelliJ IDEA.
 * User: laimis
 * Date: Jul 16, 2008
 * Time: 10:52:36 PM
 * To change this template use File | Settings | File Templates.
 */
public class Product {
    private String nodeId;
    private String type;
    private String name;
    private String title;
    private String parentId;
    private String description;
    private int price;
    private String note;
    private Content content;
    private int quantity = 1;

    public int getQuantity() {
        return quantity;
    }

    public void setQuantity(int quantity) {
        this.quantity = quantity;
    }

    public Content getContent() {
        return content;
    }

    public void setContent(Content content) {
        this.content = content;
    }

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }


    public Product(String nodeId, String type, String name, String title, String parentId, String description, int price, String note) {
        this.nodeId = nodeId;
        this.type = type;
        this.name = name;
        this.title = title;
        this.parentId = parentId;
        this.description = description;
        this.price = price;
        this.note = note;
    }
        
}
